package com.yonyou.iuap.corp.demo.yonbip.fipubbasedoc;

import com.yonyou.iuap.corp.demo.yonbip.OpenBaseTest;

/**
 * @description: 科目查询
 * @author: nishch
 * @create: 2021-03-08
 **/
public class BaseDoc extends OpenBaseTest {
    @Override
    public void list() throws Exception {
        String url = "https://api.diwork.com/yonbip/fi/fipub/basedoc/querybd";
        String paramsJson = "{\"fields\":[\"id\",\"code\",\"name\",\"ts\",\"currency\",\"currency_name\",\"accproperty\",\"accproperty_name\"],\"pageIndex\":1,\"pageSize\":1000,\"conditions\":[{\"field\":\"ts\",\"value\":\"2021-03-08 13:00:00\",\"operator\":\">=\"}]}";
        baseApi.doPostJson(url,paramsJson);
    }

    @Override
    public void detail() throws Exception {

    }

    @Override
    public void save() throws Exception {

    }
}
